package models;

import java.io.Serializable;

public class DocenteTesisPK implements Serializable{
	
	public long docente;
	public long tesis;
	
	public long getDocente() {
		return docente;
	}
	public void setDocente(long docente) {
		this.docente = docente;
	}
	public long getTesis() {
		return tesis;
	}
	public void setTesis(long tesis) {
		this.tesis = tesis;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + (int) (docente ^ (docente >>> 32));
		result = prime * result + (int) (tesis ^ (tesis >>> 32));
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		DocenteTesisPK other = (DocenteTesisPK) obj;
		if (docente != other.docente)
			return false;
		if (tesis != other.tesis)
			return false;
		return true;
	}
	
	
}
